platform :ios, '9.0'
use_frameworks!
inhibit_all_warnings!
# pod的本地索引文件：~/Library/Caches/CocoaPods/search_index.json

#post_install do |installer|
#    
#    puts 'Determining pod project minimal deployment target'
#    
#    pods_project = installer.pods_project
#    deployment_target_key = 'IPHONEOS_DEPLOYMENT_TARGET'
#    deployment_targets = pods_project.build_configurations.map{ |config| config.build_settings[deployment_target_key] }
#    minimal_deployment_target = deployment_targets.min_by{ |version| Gem::Version.new(version) }
#    
#    puts 'Minimal deployment target is ' + minimal_deployment_target
#    puts 'Setting each pod deployment target to ' + minimal_deployment_target
#    
#    installer.pods_project.targets.each do |target|
#        target.build_configurations.each do |config|
#            config.build_settings[deployment_target_key] = minimal_deployment_target
#        end
#    end
#end

source 'https://github.com/CocoaPods/Specs.git'
source 'https://gitee.com/dvlproad/dvlproadSpecs'  #这里要增加的是这条私有仓库的地址，而不是那些私有仓库里的库的地址，即如果你是增加'https://gitee.com/dvlproad/CJCustomView.git'那就错了。（之前自己犯过一次错）

inhibit_all_warnings! #inhibit_warnings参数能够有效的抑制CocoaPods引入的第三方代码库产生的warning。

target 'TSListDemo' do
  pod 'CQDemoKit',            '~> 0.6.6',     :subspecs => ['BaseVC', 'Demo_RipeView', 'Demo_Resource']
  
  pod 'TSDemo_BugInList',                     :path => '../'
  pod 'TSDemo_ListLayout',                    :path => '../'
  
  pod 'TSDemo_List',                          :path => '../'
  pod 'CQCycleAdsKit',                        :path => '../'
  pod 'CQMenuListKit',                        :path => '../'
    
  pod 'CJCollectionViewLayout',               :path => '../'
  pod 'CJCollectionViewDataSource',           :path => '../'
  pod 'UICollectionViewCJHelper',             :path => '../'
    
    
  pod 'CJOpenListKit',                        :path => '../'#, :subspecs => ['CJOpenCollectionView']
  pod 'CJFeatureListKit',                     :path => '../'#, :subspecs => ['CJHomeCollectionView']
  pod 'CQTagCollectionView',                  :path => '../'
    
#  pod 'CQBaseCardCollectionView',             :path => '../'  # 探探卡片
  pod 'CQCellAndHeaderCollect',               :path => '../'
  pod 'MJExtension'
  
  # 卡片
#  pod 'CQPopupSuperKit' # 卡片弹出匹配成功
  pod 'CQProcessKit'    # 卡片进度条
  pod 'CQUserDetailModel' # 卡片数据模型
    
  pod 'SnapKit'
  pod 'CJBaseUIKit', '0.7.6',     :subspecs => ['UIColor']
end

target 'TSListDemoTests' do
    platform :ios, '9.0'
    
end

target 'TSListDemoUITests' do
    platform :ios, '9.0'
    
end
